
public class Principal {

	public static void main(String[] args) {
		Buffer buffer = new Buffer();
		Thread t1 = new Thread(new Consumidor(buffer));
		Thread t2 = new Thread(new Produtor(buffer));
		t1.start();
		t2.start();
	}
	
}
